#!/bin/bash
##单独配置系统相关
if [[ "$1" -eq "1" ]];then
	echo -e "即将配置source/yum"
elif [[ "$1" -eq "2" ]];then
	echo -e "即将开始配置内核转发"
elif [[ "$1" == "3" ]];then
	echo '配置docker'
	bash k8s_install/config/docker.sh
elif [[ "$1" == "4" ]];then
	echo '配置K8S'
	bash k8s_install/config/k8s.sh
fi
echo "按回车开始"
read Y
if [[ "$1" -eq "1" ]];then
	bash k8s_install/config/sources.sh
elif [[ "$1" -eq "2" ]];then
	bash k8s_install/config/sysconfig.sh
else
	bash k8s_install/Y
fi
